package com.example.springboot.pattern.observer;

/**
 * @Desc
 * @Author houruiyang
 * @Date 2021/11/17
 **/

interface Subject {
    void addObserver(Observer observer);
    void removeObserver(Observer observer);
    void notifyObservers();
}
